package com.itheima.dao;

import com.itheima.domain.Student;

import java.util.List;

public interface StudentDao {
    //新增
public int add(Student student);


    //修改
    public int update(Student student);


    //根据id查询
    public int deleteByid(int id);

    //根据id删除
    public Student findByid(int id);

    //查询
    public List<Student> findAll();

}
